﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace JYH.Win.Main
{
    internal static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Login login = new Login();
            if (login.ShowDialog() == DialogResult.OK) 
            {
             
                FormMain frm = new FormMain();
                frm.Url = login.Url;
                frm.CurrentUser=login.CurrentUser;
                Application.Run(frm);
            }
    
        }
    }
}
